package com.example.petshop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("carts")
public class Cart {
    private Integer cartid;
    private Integer goodsId;  // 商品ID
    private Long userId;
    private String goodsName;  // 商品名称
    private String images;  // 商品图片

    private String description;  // 详细描述

    private String price;  // 价格

    private Integer shopId;  //所属商店
    private int quantity;   //数量
}
